package com.xxx.service.impl;

import com.xxx.pojo.Product;
import com.xxx.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public List<Product> selectProductList() {
        return Arrays.asList(new Product(1,"华为手机",3,5800d),
               new Product(2,"联想电脑",4,8000d),
                new Product(3,"oppo手机",5,3000d));
    }
}
